//
//  QMQCCityModel.m
//  QcMedical1
//
//  Created by 仲启明 on 2016/12/21.
//  Copyright © 2016年 jiawen Du. All rights reserved.
//

#import "QMQCCityModel.h"

@implementation QMQCCityModel
+ (NSArray *)getModels
{
    NSString *filePath = [[NSBundle mainBundle] pathForResource:@"province.plist" ofType:nil];
    NSArray *provinceArray = [NSArray arrayWithContentsOfFile:filePath];
    
    NSMutableArray *cityArray = [NSMutableArray array];
    
    for (NSDictionary *dic in provinceArray) {
        
        QMQCCityModel *model = [QMQCCityModel new];
        
        [model setValuesForKeysWithDictionary:dic];
        
        [cityArray addObject:model];
    }
    
    return cityArray.copy;
}
@end
